package test01.way.b;

/**
 * @Author lzp
 * @Date 2024-03-18
 */
public class Test {
    public static void main(String[] args) {
        Blue blue = new Blue();
        Green green = new Green();
        Red red = new Red();

        Thread t1 = new Thread(blue);
        Thread t2 = new Thread(green);
        Thread t3 = new Thread(red);

        t1.start();
        t2.start();
        t3.start();

    }
}
